﻿<%@ Page Language="C#" %>
<%@ Import Namespace="RssEasy.Core" %>
<%@ Import Namespace="RssEasy.Dal" %>
<%@ Import Namespace="LocalDAL" %>

<!DOCTYPE html>
<html>
<head>
    <%
        LocalSeoHelper seo = new LocalSeoHelper();
        seo.lanmubankuai(7);

        ProductList entity = new ProductList();
        entity.request();
        entity.select().where("id=@id", entity["id"]).get_first_rows();
        string id = entity["id"];
    %>
    <meta charset="utf-8" />
    <title><%  Response.Write(entity["mingcheng"]); %> - <% Response.Write(seo.title); %></title>
    <meta name="keywords" content="<% Response.Write(entity["mingcheng"]); %>,<% Response.Write(entity["keywords"]); %>" />
    <meta name="description" content="<% Response.Write(entity["description"]); %>" />
    <link href="/css/reset.css" rel="stylesheet" />
    <link href="/css/layout.css" rel="stylesheet" />
</head>
<body>
    <!--#include virtual="/inc/header.html"  -->
    <div class="banner">
        <div class="mainwrap">
            <img src="/img/case/banner.jpg" />
        </div>
    </div>
    <div class="mainwrap martop15">
        <div class="tabtitle">
            <h2><% Response.Write(entity["mingcheng"] + entity["url"]); %></h2>
        </div>
        <div sharehelper="" class="sharehelper martop10"></div>
        <div class="article indent">
            <% Response.Write(entity["miaoshu"]); %>
        </div>
    </div>
    <div class="mainwrap martop15 tr">
        <a href="http://<% Response.Write(entity["url"]); %>" target="_blank">
            <img src="/img/product/comein.png" /></a>
    </div>
    <div class="tabtitle martop15 mainwrap">
        <h2>产品展示</h2>
    </div>
    <div class="mainwrap slidewrap">
        <ul>
            <%
                ProductSlideListView slidelist = new ProductSlideListView();
                slidelist.select("url").where("relationid=@relationid", entity["id"]).query();
                while (slidelist.for_in_rows())
                {
            %>
            <li>
                <img src="http://uf.rsseasy.com/<% Response.Write(slidelist["url"].Replace(".", "l.")); %>" href="http://uf.rsseasy.com/<% Response.Write(slidelist["url"]); %>" lightbox="lightbox1" />
            </li>
            <%
                }
            %>
        </ul>
    </div>
    <div class="mainwrap martop15">
        <div class="tabtitle">
            <h2>所有产品</h2>
        </div>
        <div class="lineht22 linkitem martop5 bestlist">
            <%
                ProductList list = new ProductList();
                list.pagesize = 12;
                list.select("id,mingcheng").where("state=3").get_page_desc("id");
                while (list.for_in_rows())
                {
            %>
            <h2><a href="/html/product/<% Response.Write(list["id"]); %>.html"><% Response.Write(list["mingcheng"]); %></a></h2>
            <%
                }
            %>
        </div>
    </div>
    <!--#include virtual="/inc/footer.html"  -->
    <!--#include virtual="/inc/js.html"  -->
    <!--#include virtual="/inc/tongji.html" -->
</body>
</html>

